package forms

import "time"

type PrintRecordForm struct {
	PatientName    string `json:"patient_name" form:"patient_name" binding:"required,max=4"`
	PatientNumber  string `json:"patient_number" form:"patient_number" binding:"required"`
	UseUser        string `json:"use_user" form:"use_user" binding:"required,max=4"`
	Desc           int    `json:"desc" form:"desc" binding:"required"`
	Type           int    `json:"type" form:"type" binding:"required"`
	OperateAccount string `json:"operate_account" form:"operate_account" binding:"required,max=20"`
}

type GetPrintRecordList struct {
	GetListForm
	StartTime   *time.Time `json:"start_time" form:"start_time"`
	EndTime     *time.Time `json:"end_time" form:"end_time"`
	Type        *int       `json:"type" form:"type"`
	PatientName string     `json:"patient_name" form:"patient_name"`
}
